<link rel="stylesheet" type="text/css" href="/assets/css/m.min.css">
<link rel="stylesheet" href="/assets/front.css">
<cajamodules include="kissy/1.3.0/core" />
<script src="/assets/js/myse.js" type="text/javascript"></script>
<div class="mainContent">
  <div class="indexEvent {$ctp|default:'eggs'}_b">
    <div style="width:990px;margin:0 auto">
      <div class="event {$ctp|default:'eggs'}_i">
        <div class="J_TWidget" data-widget-type="Countdown"  data-widget-config="
			{ldelim}
				'endTime': '{$contdown}',
				'interval': 1000, 
				'timeRunCls': '.ks-countdown-run', 
				'timeUnitCls':{ldelim}
					'd': '.ks-d',
					'h': '.ks-h', 
					'm': '.ks-m',
					's': '.ks-s', 
					'i': '.ks-i' 
					{rdelim},
				'minDigit': 1,
				'timeEndCls': '.ks-countdown-end'
			{rdelim}">
          <div class="ks-countdown-run contdown"> <span class="ks-d value hide">00</span> <span class="ks-h value hide">00</span> <span class="ks-m value">00</span> <span class="ks-s value">00</span> </div>
          <div class="ks-countdown-end contdown contend" style="background:url(http://img04.taobaocdn.com/imgextra/i4/27390555/TB2O8ahapXXXXX0XXXXXXXXXXXX-27390555.gif) 0 0 no-repeat;left: 50px;cursor:pointer"> </div>
		  <div class="play_time"><span>30</span>秒</div>
        </div>
        <div class="gifts"> {foreach from=$first.gifts item=gift}
          <p><span style=" padding-right:10px;">{$gift.level}</span>{$gift.name}[{$gift.type}]</p>
          {/foreach} </div>
        <div class="wins">
          <p style=" padding-left:4px;">共抽奖<span style=" color:#FF0107; padding:0 3px;">{$first.lotts}</span>次，累积中奖次数<span style=" color:#FF0107; padding:0 3px;">{$first.wins}</span>次</p>
          <ul style=" width:222px; height:80px; padding:0px 4px; margin-top:8px; display:block; text-align:right; line-height:20px;">
            {foreach from=$first.winner item=win}
            <li class="left">恭喜{$win.mixednick|default:""|truncate:8:"******"}中奖！</li>
            <li class="right">{$win.name|default:""|truncate:12:".."}</li>
            {/foreach} 
          </ul>
        </div>
        <div class="box lv2 " style="width: 300px; height: 300px;">
		</div>
        <div class="shadow"></div>
        <div class="popup bui-dialog" style="width: 350px;height:220px; visibility: visible; top: 100px; display: none;">
          <div class="bui-stdmod-header">
            <div class="header-title"> 查看成绩 </div>
          </div>
          <div class="bui-stdmod-body">
            <ul>
              <li><var>分数：</var><span>
                <input type="text" class="cmt_score" style="border:0; background:#EEE;" readonly="1">
                </span></li>
              <li><var>难度：</var><span>
                <input type="text" class="cmt_level" style="border:0; background:#EEE;" readonly="1">
                </span></li>
              <li><var>昵称：</var>k******</li>
              <input class="btn" type="submit" value="提交">
              <input class="btn" type="button" value="查看排行榜" onclick="window.open('http://bbs.miaov.com/applications/man_20/post.php', '_blank')">
            </ul>
          </div>
          <div class="bui-stdmod-footer">
            <button class="button button-primary cancel"> 关闭 </button>
          </div>
          <a class="bui-ext-close" target="_blank"> <span class="bui-ext-close-x x-icon x-icon-normal clos"> × </span> </a></div>
      </div>
    </div>
  </div>
</div>
